import Vue from 'vue'
import Vuex from 'vuex';//中央状态管理器的构建对象
// console.log(Vuex);
import state from "./store/state";
import getters from "./store/getters";
import mutations from "./store/mutations";
import actions from "./store/actions";
Vue.use(Vuex)

export default new Vuex.Store({
    state,
    getters,
    mutations,
    actions
})
